<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
 <base href="<%=request.getContextPath()%>/">
    <meta charset="utf-8" />
<title>Insert title here</title>
</head>
<body>
    <a href="wzj/preAdd">添加</a>
    <ul class="kidc">
    	<c:forEach items="${list }" var="wzj">
      		<li><b class="tip"></b><a target="Conframe" href="wzj/detail/${wzj.workZjId }">${wzj.title }</a>&nbsp&nbsp&nbsp&nbsp<a href="wzj/delete/${wzj.workZjId }">删除</a>&nbsp&nbsp<a href="wzj/preUpdate/${wzj.workZjId }">修改</a></li>
    	</c:forEach>
	</ul>
	 <p>一共${page.pages}页</p> <p>${page.pageNum }</p>
        <a href="wzj/list?page=${page.firstPage}">第一页</a>
        <a href="wzj/list?page=${page.nextPage}">下一页</a>
        <c:forEach var='i' begin="1" end="${page.pages }" step="1">
        	 <a href="wzj/list?page=${i }">${i }</a>
        </c:forEach>
        <a href="wzj/list?page=${page.prePage}">上一页</a>
        <a href="wzj/list?page=${page.lastPage}">最后页</a>

</body>
</html>